#ifndef PI_HEADER_INCLUDED
#define PI_HEADER_INCLUDED

#define RX_BUFFER_SIZE 8
/* stable block size for portaudio, found experimentally, note that
   block sizes larger than size cause portaudio to become unstable
   and produce awful quality output on the pi */
#define PA_BUFFER_SIZE 256
#define RING_BUFFER_SIZE 4096 /* latency of ~0.1s for reliable playback */
#define INVALID_STREAM -1
#define PI_GAIN 2.0f /* gain to reasonably amplify the synth, can be tweaked */
#define KILL_CODE 'K' /* kill the embedded program */
#define PI_RESET_CODE 'P' /* alternative reset (to 127) */

#endif
